<!--
 * @Author: your name
 * @Date: 2021-02-26 10:33:39
 * @LastEditTime: 2021-03-03 09:49:03
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \sende_nuxt\pages\blog\index.vue
-->
<template>
  <div class="w1200auto blog">
    <bread-crumb class="mb10" :breadcrumbTtem="breadcrumbTtem" />
    <div class="blog_wrapper">
      <div class="mb30">
        <img
          :src="require('~/assets/image/blog/blog_03.jpg')"
          class="img"
          alt=""
        />
      </div>
      <div class="blog_content">
        <div class="blog_grid mb20">
          <div class="blog_grid_pic">
            <img :src="require('~/assets/image/blog/blog_07.jpg')" class="img" alt="" />
          </div>
          <div class="blog_grid_title mtb10">
            <h2 class="size24 b c333">
              {{$t("Fall Fashion Trends,Re-Framed:The EyewrearLooks to Copy Now")}}
            </h2>
          </div>
          <div class="blog_grid_desc">
            <span class="blog_grid_descontent c666">{{$t("Down that pumpkin spice latte and hold onto your sweater.it's officialty But before you lose your actual gourd")}}</span>
            <nuxt-link to="blog/blog-secondary" class="more bg-theme">{{$t("Read more")}}</nuxt-link>
          </div>
        </div>
        <div class="blog_grid mb20">
          <div class="blog_grid_pic">
            <img :src="require('~/assets/image/blog/blog_10.jpg')" class="img" alt="" />
          </div>
          <div class="blog_grid_title mtb10">
            <h2 class="size24 b c333">
              {{$t("Fall Fashion Trends,Re-Framed:The EyewrearLooks to Copy Now")}}
            </h2>
          </div>
          <div class="blog_grid_desc">
            <span class="blog_grid_descontent c666">{{$t("Down that pumpkin spice latte and hold onto your sweater.it's officialty But before you lose your actual gourd")}}</span>
            <nuxt-link to="blog/blog-secondary" class="more bg-theme">{{$t("Read more")}}</nuxt-link>
          </div>
        </div>
        <div class="blog_grid mb20">
          <div class="blog_grid_pic">
            <img :src="require('~/assets/image/blog/blog_12.jpg')" class="img" alt="" />
          </div>
          <div class="blog_grid_title mtb10">
            <h2 class="size24 b c333">
              {{$t("Fall Fashion Trends,Re-Framed:The EyewrearLooks to Copy Now")}}
            </h2>
          </div>
          <div class="blog_grid_desc">
            <span class="blog_grid_descontent c666">{{$t("Down that pumpkin spice latte and hold onto your sweater.it's officialty But before you lose your actual gourd")}}</span>
            <nuxt-link to="blog/blog-secondary" class="more bg-theme">{{$t("Read more")}}</nuxt-link>
          </div>
        </div>
        <div class="blog_grid mb20">
          <div class="blog_grid_pic">
            <img :src="require('~/assets/image/blog/blog_16.jpg')" class="img" alt="" />
          </div>
          <div class="blog_grid_title mtb10">
            <h2 class="size24 b c333">
              {{$t("Fall Fashion Trends,Re-Framed:The EyewrearLooks to Copy Now")}}
            </h2>
          </div>
          <div class="blog_grid_desc">
            <span class="blog_grid_descontent c666">{{$t("Down that pumpkin spice latte and hold onto your sweater.it's officialty But before you lose your actual gourd")}}</span>
            <nuxt-link to="blog/blog-secondary" class="more bg-theme">{{$t("Read more")}}</nuxt-link>
          </div>
        </div>
        <div class="blog_grid mb20">
            <div class="blog_grid_pic">
              <img :src="require('~/assets/image/blog/blog_18.jpg')" class="img" alt="" />
            </div>
            <div class="blog_grid_title mtb10">
              <h2 class="size24 b c333">
                {{$t("Fall Fashion Trends,Re-Framed:The EyewrearLooks to Copy Now")}}
              </h2>
            </div>
            <div class="blog_grid_desc">
              <span class="blog_grid_descontent c666">{{$t("Down that pumpkin spice latte and hold onto your sweater.it's officialty But before you lose your actual gourd")}}</span>
              <nuxt-link to="blog/blog-secondary" class="more bg-theme">{{$t("Read more")}}</nuxt-link>
            </div>
        </div>
        <div class="blog_grid mb20">
          <div class="blog_grid_pic">
            <img :src="require('~/assets/image/blog/blog_20.jpg')" class="img" alt="" />
          </div>
          <div class="blog_grid_title mtb10">
            <h2 class="size24 b c333">{{$t("Fall Fashion Trends,Re-Framed:The EyewrearLooks to Copy Now")}}</h2>
          </div>
          <div class="blog_grid_desc">
            <span class="blog_grid_descontent c666">{{$t("Down that pumpkin spice latte and hold onto your sweater.it's officialty But before you lose your actual gourd")}}</span>
            <nuxt-link to="blog/blog-secondary" class="more bg-theme">{{$t("Read more")}}</nuxt-link>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
import BreadCrumb from "~/components/common/Breadcrumb";
import { spliteParams } from "~/utils/Utils";
export default {
  name: "blog",
  async asyncData({ req, params, query, route, store }) {
    // 获取路由层级
    let arr = await spliteParams(route.fullPath);
    return {
      breadcrumbTtem: arr || [],
    };
  },
  components: {
    BreadCrumb,
  },
};
</script>

<style scoped>
	.blog_content {
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
	}
	.blog_grid {
		width: 32%;
	}
	.blog_grid_pic {
		height: 0;
		width: 100%;
		padding-bottom: 100%;
	}
</style>